package com.hyopt.modules.app.form;

import com.hyopt.common.validator.group.UpdateGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author ：Li9527
 * @date ：Created in 2020/1/3
 * @description：配置信息编辑表单
 * 前期开放全字段编辑，后续不需要的时候再删除
 * @modified By：
 * @version: 1.0.0
 */
@Data
public class ProjectInfoEditForm {
    @NotNull(message = "id不能为空", groups = {UpdateGroup.class})
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "项目名称")
    private String projectname;

    @ApiModelProperty(value = "WebApi地址")
    private String webapiaddress;

    @ApiModelProperty(value = "项目供应商")
    private String projectsupplier;

    @ApiModelProperty(value = "供应商LOGO")
    private String logoimg;

    @ApiModelProperty(value = "客服邮箱")
    private String serviceemail;

    @ApiModelProperty(value = "客服电话")
    private String servicetel;

    @ApiModelProperty(value = "客服微信号")
    private String servicewechat;

    @ApiModelProperty(value = "客服QQ")
    private String serviceqq;

    @ApiModelProperty(value = "供应商地址")
    private String supplieraddress;

    @ApiModelProperty(value = "报警抓拍图片数")
    private long alarmnumber;

    @ApiModelProperty(value = "报警处理抓拍图片数")
    private long alarmhandlenumber;

    @ApiModelProperty(value = "报警处理误差范围(单位：米，值为-1时，表示未设置范围） ")
    private long errorrange;

    @ApiModelProperty(value = "项目描述")
    private String projectdesc;

    @ApiModelProperty(value = "APP启动图片")
    private String startimg;

}
